from django.urls import path, re_path
from . import views


urlpatterns = [
    # QQ登录接口一：获取 QQ 扫码登录链接
    path('qq/authorization/', views.QQURLView.as_view()),

    # QQ登录接口二：获取openid —— GET + oauth_callback/ = self.get
    # QQ登录接口三：绑定用户 —— POST + oauth_callback/ = self.post
    path('oauth_callback/', views.QQUserView.as_view())

]
